package com.java.star.mall.front.pojo.param;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信小程序获取openId的请求参数
 */
@Data
public class OpenIdRequestParam implements Serializable {

    private static final long serialVersionUID = 2297974577438461847L;

    //小程序 appId
    @JSONField(name = "appid")
    private String appId;

    //小程序 appSecret
    @JSONField(name = "secret")
    private String appSecret;

    //登录时获取的code
    @JSONField(name = "js_code")
    private String jsCode;

    //授权类型
    @JSONField(name = "grant_type")
    private String grantType;
}
